-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: remove unused modules #4475
Conversation
@@ -5,7 +5,6 @@ | |||
|
|||
var common = require('../common'); | |||
var assert = require('assert'); | |||
var cluster = require('cluster'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Guess this test is poorly named if it doesn't use the cluster module.
LGTM
I can confirm that. |
Many tests use require() to import modules that subsequently never gets used. This removes those imports and, in a few cases, removes other unused variables from tests.
831fa73
to
6304758
Compare
Rebased and force pushed. |
Seemingly unrelated test failure on one of the Raspberry Pi devices, but CI looks good other than that. |
LGTM |
Many tests use require() to import modules that subsequently never gets used. This removes those imports and, in a few cases, removes other unused variables from tests. PR-URL: nodejs#4475 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Johan Bergström <[email protected]>
Landed in 6abd8b5 |
Many tests use require() to import modules that subsequently never gets used. This removes those imports and, in a few cases, removes other unused variables from tests. PR-URL: nodejs#4475 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Johan Bergström <[email protected]>
@Trott this is merging with conflicts on v4.x-staging would you be able to take a look? |
Many tests use require() to import modules that subsequently never gets used. This removes those imports and, in a few cases, removes other unused variables from tests. PR-URL: nodejs#4475 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Johan Bergström <[email protected]>
Many tests use
require()
to import modules that subsequently never getsused. This removes those imports and, in a few cases, removes other
unused variables from tests.
I'm especially looking for review on the tests in
test/pummel
as I'm not 100% clear on how those tests work. It seems like a number of them were failing already prior to these changes (judging from results runningmake test-pummel
on OS X).